]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
calendar: Fix body alignment for RTL locales
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 17 Mar 2015 15:46:08 +0000 (16:46 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 17 Mar 2015 15:46:08 +0000 (16:46 +0100)
Since commit 75745fc23f3f22, the bodyStack itself is no longer start-aligned
to not break custom body actors like chat notifications. However we still
want "normal" body actors start-aligned to get the correct RTL behavior.

js/ui/calendar.js

index 0e03a2b4b5b246ec37a39e489b45917e93bcb79e..a79fd7e9f5ecf712070ce761db40c766750cc1e1 100644 (file)
@@ -122,7 +122,8 @@ const URLHighlighter = new Lang.Class({
     _init: function(text, lineWrap, allowMarkup) {
         if (!text)
             text = '';
-        this.actor = new St.Label({ reactive: true, style_class: 'url-highlighter' });
+        this.actor = new St.Label({ reactive: true, style_class: 'url-highlighter',
+                                    x_expand: true, x_align: Clutter.ActorAlign.START });
         this._linkColor = '#ccccff';
         this.actor.connect('style-changed', Lang.bind(this, function() {
             let [hasColor, color] = this.actor.get_theme_node().lookup_color('link-color', false);